import java.util.Date;


public class User {

	private String username;
	private String password;
	private String firstName;
	private String lastName;
	private String emailAddress;
	private String gender;
	private String birthDate;
	private Date joinDate;
	private Date lastLoginDate;
	
	public User(String uname,String pass, String fname, 
			String lname, String email, String gen, String birth) {
		this.username = uname.toLowerCase();
		this.password = pass;
		this.firstName = fname;
		this.lastName = lname;
		this.emailAddress = email;
		this.gender = gen;
		this.birthDate = birth;
		this.joinDate = new Date();
		this.lastLoginDate = new Date();
		
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(String birthDate) {
		this.birthDate = birthDate;
	}

	public String getUsername() {
		return username;
	}

	public String getLastName() {
		return lastName;
	}

	public Date getJoinDate() {
		return joinDate;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

}
